Nested

data class Nested(val type: NavigationSpec.Nested.Type = Type.Add, val containerView: <Error class: unknown class>, val nested: () -> <Error class: unknown class>, val constraints: (<Error class: unknown class>, <Error class: unknown class>) -> List<<Error class: unknown class>>? = null) : NavigationSpec

Adds a nested UIViewController to a container UIView.

Parameters

type

The Nested.Type of presentation

containerView

The UIView to which the UIViewController should be added. Must be a child of the parent

nested

Function to create the UIViewController to add to the container view

constraints

Optional function that takes the child and container view and returns the constraints to set. If left empty, the child will default to match the container view size

Constructors

Link copied to clipboard
constructor(type: NavigationSpec.Nested.Type = Type.Add, containerView: <Error class: unknown class>, nested: () -> <Error class: unknown class>, constraints: (<Error class: unknown class>, <Error class: unknown class>) -> List<<Error class: unknown class>>? = null)

Types

Link copied to clipboard
sealed class Type

Nested Presentation type

Properties

Link copied to clipboard
val constraints: (<Error class: unknown class>, <Error class: unknown class>) -> List<<Error class: unknown class>>? = null
Link copied to clipboard
val containerView: <Error class: unknown class>
Link copied to clipboard
val nested: () -> <Error class: unknown class>
Link copied to clipboard